package com.tolerate.managespringboot;

import com.tolerate.managespringboot.entity.User;
import com.tolerate.managespringboot.service.UserService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

import java.util.List;

@SpringBootApplication
@MapperScan("com.tolerate.managespringboot.mapper")
@EnableWebMvc
public class ManageSpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManageSpringbootApplication.class, args);
    }

}
